<template>
	<view class="oneadv">
		<view v-if="headerTitle" class="title">{{headerTitle}}</view>
		<view v-if="cover">
			<image :src="cover" mode=""></image>
		</view>
	</view>
</template>
<script>
	export default {
		name: "one-adv",
		data() {
			return {

			};
		},
		props: {
			headerTitle: {
				type: String
			},
			cover: {
				type: String
			}
		}
	}
</script>

<style scoped>
	.oneadv .title {
		padding: 20rpx 0 10rpx 0;
	}

	.oneadv image {
		width: 750rpx;
		height: 340rpx;
	}
</style>
